$OpenBSD: patch-lib_thumbnailprovider_thumbnailgenerator_cpp,v 1.2 2014/07/10 09:10:13 zhuk Exp $
XXX Disable libkdcraw usage until crashes are resolved.
--- lib/thumbnailprovider/thumbnailgenerator.cpp.orig	Mon May  5 09:21:49 2014
+++ lib/thumbnailprovider/thumbnailgenerator.cpp	Thu Jul 10 10:57:33 2014
@@ -73,7 +73,11 @@ bool ThumbnailContext::load(const QString &pixPath, in
     int previewRatio = 1;
 
     // raw images deserve special treatment
+#if OPENBSD_LIBKDCRAW_NO_CRASH
     if (KDcrawIface::KDcraw::rawFilesList().contains(QString(formatHint))) {
+#else
+    if (false) {
+#endif
         // use KDCraw to extract the preview
         bool ret = KDcrawIface::KDcraw::loadEmbeddedPreview(data, pixPath);
 
